fn get_cookies(cookies: &Cookies) -> UserInfo {
    let id_op: Option<&Cookie> = cookies.get("id");
    let account_op: Option<&Cookie> = cookies.get("account");
    let email_op: Option<&Cookie> = cookies.get("email");
    let tel_op: Option<&Cookie> = cookies.get("tel");
    let alipay_account_op: Option<&Cookie> = cookies.get("alipay_account");
    let alipay_name_op: Option<&Cookie> = cookies.get("alipay_name");
    let qq_number_op: Option<&Cookie> = cookies.get("qq_number");
    let push_id_op: Option<&Cookie> = cookies.get("push_id");
    let mut id: usize = 0;
    let mut account: String = String::new();
    let mut email: String = String::new();
    let mut tel: String = String::new();
    let mut alipay_account: String = String::new();
    let mut alipay_name: String = String::new();
    let mut qq_number: String = String::new();
    let mut push_id: usize = 0;
    if let Some(id_cookie) = id_op {
        if let Ok(i) = id_cookie.value().parse::<usize>() {
            id = i;
        }
    }
    if let Some(account_cookie) = account_op {
            account = account_cookie.value().to_string();
    }
    if let Some(email_cookie) = email_op {
            email = email_cookie.value().to_string();
    }
    if let Some(tel_cookie) = tel_op {
            tel = tel_cookie.value().to_string();
    }
    if let Some(alipay_account_cookie) = alipay_account_op {
            alipay_account = alipay_account_cookie.value().to_string();
    }
    if let Some(alipay_name_cookie) = alipay_name_op {
            alipay_name = alipay_name_cookie.value().to_string();
    }
    if let Some(qq_number_cookie) = qq_number_op {
            qq_number = qq_number_cookie.value().to_string();
    }
    if let Some(push_id_cookie) = push_id_op {
        if let Ok(i) = push_id_cookie.value().parse::<usize>() {
            push_id = i;
        }
    }
    return UserInfo {
        id: id,
        account: account,
        email: email,
        tel: tel,
        alipay_account: alipay_account,
        alipay_name: alipay_name,
        qq_number: qq_number,
        push_id: push_id
    };
}
